﻿<div class="content-wrap" ng-if="userInfo.isAuthenticated">
    <div class="content" style="padding-top: 20px;">
        <div class="sidebar">
            <div class="home-blue-title">
                Account Page
            </div>
        </div>
        <div ng-controller="AccountController as ctrl">
            <div ng-if="ctrl.researchProducts.length > 0">
                <div class="home-modules-title" style="font-size: 18px; border: none;">Research Products</div>

                <div class="overview-news-inner" ng-repeat="researchProduct in ctrl.researchProducts">
                    <div>{{researchProduct.name}}</div>
                    <div>{{researchProduct.isActive}}</div>
                    <div>{{researchProduct.coveredIndices.length}}</div>
                    <div>{{researchProduct.uncoveredIndices.length}}</div>
                    <div class="clear"></div>
                    <!--<div class="overview-news-inner" ng-repeat="universe in ctrl.getIndices(researchProduct.name, true)">
                        <div>{{universe}}</div>
                    </div>-->
                    <div class="overview-news-inner" ng-repeat="claim in ctrl.getPIClaims(false)">
                        <div>{{claim}}</div>
                    </div>
                </div>
                <br>

            </div>
            
            <div ng-if="ctrl.features.length > 0">
                <div class="home-modules-title" style="font-size: 18px; border: none;">Features</div>

                <div class="overview-news-inner" ng-repeat="feature in ctrl.features">
                    <div>{{feature.name}}</div>
                    <div>{{feature.isActive}}</div>
                    <div>{{feature.coveredIndices.length}}</div>
                    <div>{{feature.uncoveredIndices.length}}</div>
                    <div class="clear"></div>
                </div>
                <br>

            </div>             
        </div>
    </div>
</div>
